package cn.lsh;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;
/*
 * 自动扫苗注解，需要应用主类放在最顶层目录下
 */
@SpringBootApplication
@EnableTransactionManagement
@MapperScan(basePackages="cn.lsh.mapper")
public class Application {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		SpringApplication.run(Application.class, args);
	}

}
